<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8" />
<title>Form Elements - Ace Admin</title>

<meta name="description" content="Common form elements and layouts" />
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

<!-- bootstrap & fontawesome -->
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/bootstrap.min.css" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/font-awesome.min.css" />

<!-- page specific plugin styles -->
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/jquery-ui.custom.min.css" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/chosen.min.css" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/bootstrap-datepicker3.min.css" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/bootstrap-timepicker.min.css" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/daterangepicker.min.css" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/bootstrap-datetimepicker.min.css" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/bootstrap-colorpicker.min.css" />


<!-- ace styles -->
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/ace.min.css"
	id="main-ace-style" />

<!--[if lte IE 9]>
			<link rel="stylesheet" href="<%=request.getContextPath()%>/ace/assets/css/ace-part2.min.css" />
		<![endif]-->
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/ace-skins.min.css" />
<link rel="stylesheet"
	href="<%=request.getContextPath()%>/ace/assets/css/ace-rtl.min.css" />

<!--[if lte IE 9]>
		  <link rel="stylesheet" href="<%=request.getContextPath()%>/ace/assets/css/ace-ie.min.css" />
		<![endif]-->

<!-- inline styles related to this page -->

<!-- ace settings handler -->
<script
	src="<%=request.getContextPath()%>/ace/assets/js/ace-extra.min.js"></script>

<!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries -->

<!--[if lte IE 8]>
		<script src="<%=request.getContextPath()%>/ace/assets/js/html5shiv.min.js"></script>
		<script src="<%=request.getContextPath()%>/ace/assets/js/respond.min.js"></script>
		<![endif]-->
</head>

<body class="no-skin">
	

	<!-- /section:basics/content.breadcrumbs -->
	<div class="page-content">
		<!-- /section:settings.box -->
		<div class="page-content-area">
			<div class="page-header">
				<h1>
					一对一详情 
				</h1>
			</div>
			<!-- /.page-header -->

			<div class="row">
				<div class="col-xs-12">
					<!-- PAGE CONTENT BEGINS -->
					<form class="form-horizontal">
						<!-- #section:elements.form -->
								<div class="detail-zx">
									<div>
										<span>状态:</span>
										<span class="yellow">${bsbOne.status=='0'?'未回答':bsbOne.status=='1'?'已回答':bsbOne.status=='2'?'已回答':bsbOne.status=='3'?'已回答':bsbOne.status=='4'?'已回答':bsbOne.status=='5'?'已回答':bsbOne.status=='6'?'过期':bsbOne.status=='7'?'退款中':bsbOne.status=='8'?'退款成功':bsbOne.status=='9'?'退款异常':'未知'}</span>
									</div>
									<div>
										<span>商品ID:</span>
										<span>${bsbOne.uuid}</span>
									</div>
									<div>
										<span>金额 :</span>
										<span class="yellow">${bsbOne.price}</span>
									</div>
								</div>
								<div class="detail-zx">
									<div>
										<span> 提问人:</span>
										<span>${bsbOne.puserName}</span>
									</div>
									<div>
										<span>咨询日期 :</span>
										<span>${bsbOne.createDate}</span>
									</div>
									<div>
										<span>所属机构:</span>
										<span>${bsbOne.firmName}</span>
									</div>
								</div>
								<!-- div class="form-group">
									<label class="col-sm-1 control-label no-padding-right"
										for="form-field-1"> 状态 </label>
		
									<div class="col-sm-9">
										<input type="text"   value="${bsbOne.status=='0'?'未回答':bsbOne.status=='1'?'已回答':bsbOne.status=='2'?'已回答':bsbOne.status=='3'?'已回答':bsbOne.status=='4'?'已回答':bsbOne.status=='5'?'已回答':bsbOne.status=='6'?'过期':bsbOne.status=='7'?'退款中':bsbOne.status=='8'?'退款成功':bsbOne.status=='9'?'退款异常':'未知'}"
											class="col-xs-10 col-sm-5" readonly="readonly"/>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-1 control-label no-padding-right"
										for="form-field-1"> 商品ID </label>
		
									<div class="col-sm-9">
										<input type="text"   value="${bsbOne.uuid}"
											class="col-xs-10 col-sm-5" readonly="readonly"/>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-1 control-label no-padding-right"
										for="form-field-1"> 金额 </label>
		
									<div class="col-sm-9">
										<input type="text"   value="${bsbOne.price}"
											class="col-xs-10 col-sm-5" readonly="readonly"/>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-1 control-label no-padding-right"
										for="form-field-1"> 咨询日期 </label>
		
									<div class="col-sm-9">
										<input type="text"   value="<fmt:formatDate pattern='yyyy-MM-dd HH:mm:ss' value="${bsbOne.createDate}" />"
											class="col-xs-10 col-sm-5" readonly="readonly"/>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-1 control-label no-padding-right"
										for="form-field-1"> 提问人 </label>
		
									<div class="col-sm-9">
										<input type="text"   value="${bsbOne.puserName}"
											class="col-xs-10 col-sm-5" readonly="readonly"/>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-1 control-label no-padding-right"
										for="form-field-1"> 所属机构 </label>
		
									<div class="col-sm-9">
										<input type="text"   value="${bsbOne.firmName}"
											class="col-xs-10 col-sm-5" readonly="readonly"/>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-1 control-label no-padding-right"
										for="form-field-1"> 专家 </label>
		
									<div class="col-sm-9">
										<input type="text"   value="${bsbOne.cuserName}"
											class="col-xs-10 col-sm-5" readonly="readonly"/>
									</div>
								</div -->
								
								<div class="form-group">
									
										<div class="panel zxlist">
										    <div class="panel-heading"><span class="left-line"></span> 咨询详情列表</div>
										    <ul class="list-group">
										        <li class="list-group-item"><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${bsbOne.createDate}" /></li>
										        <li class="list-group-item"><p><b>问：</b>${bsbOne.question}</p></li>
										        <li class="list-group-item"><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${bsbOne.ansDate}" /></li>
										        <li class="list-group-item"><p><b>答：</b>${bsbOne.answer}</p></li>
										    </ul>
										</div>
									
								</div>
								<c:if test="${not empty bsbOne.firstAsked}">
									<div class="form-group">
										<div class="col-sm-9">
											<div class="panel panel-success">
											    <div class="panel-heading">第一次追问</div>
											    <ul class="list-group">
											        <li class="list-group-item"><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${bsbOne.firstAskTime}" /></li>
											        <li class="list-group-item"><p><b>问：</b>${bsbOne.firstAsked}</p></li>
											        <li class="list-group-item"><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${bsbOne.firstAskAnswerTime}" /></li>
											        <li class="list-group-item"><p><b>答：</b>${bsbOne.firstAnswer}</p></li>
											    </ul>
											</div>
										</div>
									</div>
								</c:if>
								<c:if test="${not empty bsbOne.secondAsked}">
									<div class="form-group">
										<div class="col-sm-9">
											<div class="panel panel-success">
											    <div class="panel-heading">第二次追问</div>
											    <ul class="list-group">
											        <li class="list-group-item"><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${bsbOne.secondAskTime}" /></li>
											        <li class="list-group-item"><p><b>问：</b>${bsbOne.secondAsked}</p></li>
											        <li class="list-group-item"><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${bsbOne.secondAskAnswerTime}" /></li>
											        <li class="list-group-item"><p><b>答：</b>${bsbOne.secondAnswer}</p></li>
											    </ul>
											</div>
										</div>
									</div>
								</c:if>
								
						<div class="clearfix form-actions">
							<div class="col-md-offset-3 col-md-9">
								<input type="button" class="btn btn-info" type="button" onclick="history.go(-1)" value="返回" />
							</div>
						</div>
					</form>

					<!-- PAGE CONTENT ENDS -->
				</div>
				<!-- /.col -->
			</div>
			<!-- /.row -->
		</div>
		<!-- /.page-content-area -->
	</div>
	<!-- /.page-content -->
</body>

<!-- basic scripts -->

<!--[if !IE]> -->
<script type="text/javascript">
	window.jQuery
			|| document
					.write("<script src='<%=request.getContextPath()%>/ace/assets/js/jquery.min.js'>"
							+ "<"+"/script>");
</script>

<!-- <![endif]-->

<!--[if IE]>
<script type="text/javascript">
 window.jQuery || document.write("<script src='<%=request.getContextPath()%>/ace/assets/js/jquery1x.min.js'>"+"<"+"/script>");
</script>
<![endif]-->
<script type="text/javascript">
	if ('ontouchstart' in document.documentElement)
		document.write("<script src='<%=request.getContextPath()%>/ace/assets/js/jquery.mobile.custom.min.js'>"+ "<"+"/script>");
</script>

<script
	src="<%=request.getContextPath()%>/ace/assets/js/bootstrap.min.js"></script>


</html>
